package com.sx.article.dao;

import java.util.List;

import com.sx.article.entity.ArticleEntity;
import com.sx.article.entity.TitleAndArticleEntity;
import com.sx.feesunit.exception.SXException;

public interface IArticleDao {
	/**
	 * 审核文章数据信息
	 **/
	public boolean approvalArticleInfo(ArticleEntity article);
	/**
	 * 删除文章数据信息
	 **/
	public boolean deleteInfo(ArticleEntity article);
	/**
	 * 编辑文章数据信息
	 **/
	public boolean editInfo(ArticleEntity article);
	/**
	 *查询我的文章信息 
	 **/
	public ArticleEntity findArticleById(ArticleEntity article);
	/**
	 * 新增关联信息
	 **/
	public Integer addTitleArticleInfo(TitleAndArticleEntity aticleandtitle);
	/**
	 *查询我的表单信息列表 
	 */
	public List<ArticleEntity> findArticleInfo(ArticleEntity article); 
	/**
	 *查询我的表单信息数量 
	 */
	public String findArticleInfoCounts(ArticleEntity article); 
	/**
	 * 新增文章数据信息
	 **/
	public Integer addInfo(ArticleEntity article);
}
